<div class="studentworkcompetitionleadings view">
<h2><?php echo __('Studentworkcompetitionleading'); ?></h2>

<table width="100%">
  <tr>
    <td width="15%" align="right">Название конкурса</td>
    <td width="2%" align="right"><font color="red">*</font></td>
    <td width="45%"><?php echo h($studentworkcompetitionleading['Studentworkcompetitionleading']['competition_name']); ?>

	</td>
  </tr>
  <tr>
    <td width="15%" align="right">Организатор конкурса</td>
    <td width="2%" align="right"><font color="red">*</font></td>
    <td width="45%"><?php echo h($studentworkcompetitionleading['Studentworkcompetitionleading']['competition_owner']); ?>

	</td>
  </tr>
  <tr>
    <td align="right">Название работы</td>
    <td align="right"><font color="red">*</font></td>
    <td><?php echo h($studentworkcompetitionleading['Studentworkcompetitionleading']['studentwork_name']); ?></td>
  </tr>
  <tr>
    <td align="right">Дата регистрации на конкурсе</td>
    <td align="right"><font color="red">*</font></td>
    <td><?php echo h($studentworkcompetitionleading['Studentworkcompetitionleading']['regdate']); ?></td>
  </tr>
  <tr>
    <td align="right">Состояние</td>
    <td align="right">&nbsp;</td>
    <td><?php echo $studentworkcompetitionleading['Recstatus']['name'];  ?></td>
  </tr>
  <tr>
    <td align="right">Авторы</td>
    <td align="right">&nbsp;</td>
    <td>
    	<?php 
    		// debug ($authors);
    		foreach ($authors as $author):
    			echo $author['fio'].' ';
/*     			if (!empty($author['linkid'])) {
    				echo $this->Form->postLink(__('Delete'), array('controller' => 'authorlinks', 'action' => 'delete', $author['linkid']), array('target' =>'_blank'), __('Are you sure you want to delete # %s?', $author['fio'])); 
    			} */
    			echo '<br />';
    		endforeach;
    	
    	?>
    </td>
  </tr>
</table>
</div>